package com.phiture.erp.basic.api.service;

import com.phiture.erp.basic.api.pojo.resp.ErpCustomerResp;

import java.util.Collection;
import java.util.Map;

/**
 * @author YH
 * @date 2025/4/8
 */
public interface ErpCustomerApi {
    /**
     * 有效客户校验
     * @param id
     * @return
     */
    ErpCustomerResp validateCustomer(Long id);

    /**
     * 获得客户 Map
     *
     * @param ids 编号列表
     * @return 客户 Map
     */
    Map<Long, ErpCustomerResp> getCustomerMap(Collection<Long> ids);
}
